// tasktab
function setTab(name,cursel,n){
 for(var i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
  if(cursel==1){
	  //alert(cursel);
	 // document.myform.action="registerLogin";
  }else{
	  //alert(cursel);
	  //document.myform.action="servlet/LoginAction";
  }
 }
}